<html>
<head>
<title>Upload File</title>
</head>
<body>
<?php
$file_name = $_FILES['TxtNmFile']['name'];
 
$file_name = stripslashes($file_name);
$file_name = str_replace("'","",$file_name);
$copy = copy($_FILES['TxtNmFile']['tmp_name'],"mp3/".$file_name);

if($copy){
	echo "$file_name | Proses Upload Mp3 Sukses.!<br>";
	echo " <a href=Play.php>Back to playlist</a>";
}
else{
	echo "$file_name | Proses upload gagal total.!<br>";
}
?> 
</body>
</html> 
